import 'package:flutter/material.dart';
import 'package:navigator_demo/navigator2pointzero/router/app_router_delegate.dart';
import 'package:navigator_demo/navigator2pointzero/router/app_router_information_parser.dart';
import 'package:navigator_demo/navigator2pointzero/router/app_router_information_provider.dart';

class AppRouter extends Router {
  final AppRouterInformationParser appRouterInformationParser;
  final AppRouterInformationProvider appRouterInformationProvider;
  final AppRouterDelegate appRouterDelegate;

  AppRouter({
    this.appRouterInformationProvider,
    this.appRouterInformationParser,
    @required this.appRouterDelegate,
  }) : super(
          routeInformationProvider: appRouterInformationProvider,
          routeInformationParser: appRouterInformationParser,
          routerDelegate: appRouterDelegate,
        );
}
